package com.ttloner.admin.service.imp;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ttloner.admin.bean.City;
import com.ttloner.admin.bean.UserShow;
import com.ttloner.admin.mapper.CityMapper;
import com.ttloner.admin.mapper.UserShowMapper;
import com.ttloner.admin.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author TTLoner
 * @date 2021/7/25 7:59
 * @description
 */
@Service
public class CityServiceImp implements CityService {
    @Autowired
    private CityMapper cityMapper;
    @Override
    public City getById(Long id) {
        return cityMapper.getById(id);
    }
}
